/*
** client.h for  in /u/all/caille_c/cu/rendu/c/minitalk/client
** 
** Made by carole cailleux
** Login   <caille_c@epitech.net>
** 
** Started on  Thu Mar 11 12:15:28 2010 carole cailleux
** Last update Wed Mar 17 16:36:18 2010 carole cailleux
*/

#ifndef         _CLIENT_H_
# define        _CLIENT_H_

#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>

/* lib_1.c */
void		my_putchar(char c);
void		my_put_nbr(int nb);
void		my_putstr(char *str);
int		my_getnbr(char *str);

/* my_strlen.c */
int		my_strlen(char *str);

/* send_signals.c */
void		dec_to_bin(int chara, int pid);
void		send_sign(int nb, int pid);
void		pid_to_bin(int pid_cl, int pid_srv);
void		send_pid(int pid);

/* xfunctions.c */
ssize_t		xwrite(int d, void *buf, size_t nbytes);

#endif		/* _CLIENT_H_ */
